File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/// <reference types="chrome" />
2-
2+ import { fromByteArray } from "base64-js" ;
33import * as AuthSession from "expo-auth-session" ;
4- import * as WebBrowser from "expo-web-browser" ;
54import * as Crypto from "expo-crypto" ;
5+ import * as WebBrowser from "expo-web-browser" ;
66import { Platform } from "react-native" ;
7- import { fromByteArray } from "base64-js" ;
87
98// Complete warm up for WebBrowser on mobile
109WebBrowser . maybeCompleteAuthSession ( ) ;
@@ -292,9 +291,7 @@ export class CalComOAuthService {
292291
293292 private async getDiscoveryEndpoints ( ) : Promise < AuthSession . DiscoveryDocument > {
294293 try {
295- const discovery = await AuthSession . fetchDiscoveryAsync (
296- `${ this . config . calcomBaseUrl } /.well-known/openid_configuration`
297- ) ;
294+ const discovery = await AuthSession . fetchDiscoveryAsync ( this . config . calcomBaseUrl ) ;
298295 return discovery ;
299296 } catch {
300297 return {
You can’t perform that action at this time.
0 commit comments