feat/axum-0.7.x - uses breaking changes from axum 0.7.x #4
@ -110,6 +110,8 @@ impl OAuthClient for ZitadelOAuthClient {
|
|||||||
.authorize_url(CsrfToken::new_random)
|
.authorize_url(CsrfToken::new_random)
|
||||||
.add_scope(Scope::new("identify".to_string()))
|
.add_scope(Scope::new("identify".to_string()))
|
||||||
.add_scope(Scope::new("openid".to_string()))
|
.add_scope(Scope::new("openid".to_string()))
|
||||||
|
.add_scope(Scope::new("email".to_string()))
|
||||||
|
.add_scope(Scope::new("profile".to_string()))
|
||||||
.url();
|
.url();
|
||||||
|
|
||||||
Ok(auth_url)
|
Ok(auth_url)
|
||||||
|
Loading…
Reference in New Issue
Block a user