<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [OAuthProvider](./auth.oauthprovider.md) &gt; [getScopes](./auth.oauthprovider.getscopes.md)

## OAuthProvider.getScopes() method

Retrieve the current list of OAuth scopes.

<b>Signature:</b>

```typescript
getScopes(): string[];
```
<b>Returns:</b>

string\[\]

