fork download
  1. # your code goes here
  2. redirect_uri = "https://l...content-available-to-author-only...e.com/62544226-1533-4b60-979f-b10f86521124/oauth2/v2.0/authorize"
  3. client_id= "2b2eb337-c928-4a21-9c6b-c07f715e8262"
  4. state = "stare"
  5.  
  6. sc = [
  7. "User.ReadBasic.All",
  8. "calendars.ReadWrite"
  9. ]
  10. scope = "%20".join(sc)
  11.  
  12. link = f"{redirect_uri}?client_id={client_id}&redirect_uri=https://p...content-available-to-author-only...t.ai/dashboard&scope={scope}&response_mode=query&prompt=login&response_type=code&state={state}"
  13.  
  14.  
  15. print(link)
Success #stdin #stdout 0.02s 8956KB
stdin
Standard input is empty
stdout
https://l...content-available-to-author-only...e.com/62544226-1533-4b60-979f-b10f86521124/oauth2/v2.0/authorize?client_id=2b2eb337-c928-4a21-9c6b-c07f715e8262&redirect_uri=https://p...content-available-to-author-only...t.ai/dashboard&scope=User.ReadBasic.All%20calendars.ReadWrite&response_mode=query&prompt=login&response_type=code&state=stare