You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
storage: add a method to create an OAuth 2.0 session for a client credentials grant
This commit is contained in:
@@ -90,7 +90,7 @@ async fn start_oauth_session(
|
||||
|
||||
let session = repo
|
||||
.oauth2_session()
|
||||
.add(&mut rng, &state.clock, client, &browser_session, scope)
|
||||
.add_from_browser_session(&mut rng, &state.clock, client, &browser_session, scope)
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user