use the configuration to get the URL of the resource server
This commit is contained in:
@@ -11,7 +11,7 @@ export const Login: React.FC = () => {
|
||||
const url = [
|
||||
Configuration.vatsim.authorizeUrl,
|
||||
`?client_id=${Configuration.vatsim.clientId}`,
|
||||
`&redirect_uri=http://localhost:3000/auth/vatsim`,
|
||||
`&redirect_uri=${Configuration.resourceServer}/auth/vatsim`,
|
||||
`&response_type=code`,
|
||||
`&scope=full_name+vatsim_details`,
|
||||
`&approval_prompt=auto`,
|
||||
|
||||
Reference in New Issue
Block a user