# Programmatic Access: Not able to get login URL

**URL:** https://discuss.pomerium.com/t/programmatic-access-not-able-to-get-login-url/191
**Category:** Support
**Created:** [November 29, 2022, 8:22pm UTC](https://discuss.pomerium.com/t/programmatic-access-not-able-to-get-login-url/191 "2022-11-29T20:22:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kwojkovich](https://avatars.discourse-cdn.com/v4/letter/k/e9bcb4/32.png) [@kwojkovich](https://discuss.pomerium.com/u/kwojkovich)
#### Post date: [November 29, 2022, 8:22pm UTC](https://discuss.pomerium.com/t/programmatic-access-not-able-to-get-login-url/191/1 "2022-11-29T20:22:36Z")

</div>

## What happened?

Attempted to follow Programmatic Access guide, but when I navigate to [https://]authenticate.corp.[domain].com/.pomerium/api/v1/login, I receive a “route unknown” error.

## What did you expect to happen?

I expected Pomerium to return a login URL.

## How’d it happen?

1. Navigate to [https://]authenticate.corp.[domain].com/.pomerium/api/v1/login
2. Received “route unknown” error

## What’s your environment like?

Using the latest version of the all-in-one ingress-controller from the k8s quick-start.

## Additional context

It’s unclear whether [https://www.pomerium.com/docs/topics/programmatic-access](https://www.pomerium.com/docs/topics/programmatic-access) is an Enterprise-only feature or if it’s available in OSS?

Also new users aren’t allowed to post more than 2 links, so the formatting may be off here…

---

<div class="post-metadata">

### Author: ![denis](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@denis](https://discuss.pomerium.com/u/denis)
#### Post date: [December 5, 2022, 8:17pm UTC](https://discuss.pomerium.com/t/programmatic-access-not-able-to-get-login-url/191/2 "2022-12-05T20:17:28Z")

</div>

No, programmatic login is not an enterprise only feature.

One immediate observation from your report is that you’re supposed to call an actual route you’re trying to authenticate to, not the authenticate URL. Also it must carry a `pomerium_redirect_uri` query parameter, otherwise it’ll 404.
